const path = require('path')
module.exports = {
  mode: 'production',
  entry: {
    main1: path.join(__dirname, 'src/main.js'),
    main2: path.join(__dirname, 'src/main2.js')
  },
  output: {
    path: path.join(__dirname, 'dist'),
    filename: '[name].[chunkhash:8].js'
  },
}